package com.four.controller;

import com.four.pojo.Moer;
import com.four.service.impl.MoidServiceImpl;
import com.four.service.impl.OrdersServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 于志豪
 * @create 2021-10-27 21:39
 */

@Controller
public class MoerController {
    @Autowired
    @Qualifier("moidServiceImpl")
    private MoidServiceImpl service;


    @RequestMapping("/addMoid")
    public String addMoid(Moer moer){
        System.out.println(moer);
//        service.addMoid(moer);
        return "/new_Order.jsp";
    }

}
